package ca.mcgill.schedulability.singleevent.functional;

import ca.mcgill.model.functional.Transition;


public class Bounds {

	// demand pair <e, transition> 
	// where e=accumulated ExecTime and transition the last transition of the ExecPath
	private int upperBound;
	private int lowerBound;
	private boolean doesInterfere;
	private boolean multipleTransc;

	
	public Bounds(int upperBound, int lowerBound, boolean doesInterfere) {
		this.upperBound = upperBound;
		this.lowerBound = lowerBound;
		this.doesInterfere = doesInterfere;
	}
	
	
	
	public Bounds(int upperBound, int lowerBound, boolean doesInterfere, boolean multipleTransc) {
		this.upperBound = upperBound;
		this.lowerBound = lowerBound;
		this.doesInterfere = doesInterfere;
		this.multipleTransc = multipleTransc;
	}

	
	// upper bound 
	public int getUpperBound() {
		return upperBound;
	}
	public void setUpperBound(int upperBound) {
		this.upperBound = upperBound;
	}

	
	// upper bound 
	public int getLowerBound() {
		return lowerBound;
	}
	public void setLowerBound(int lowerBound) {
		this.lowerBound = lowerBound;
	}
	
	//booleans
	public boolean doesInterfere() {
		return doesInterfere;
	}
	
	public boolean multipleTransc() {
		return multipleTransc;
	}
	
	

}